import request from '@/utils/request'

export function showMessageList(query) {
  return request({
    url: '/message/show',
    method: 'get',
    params: query
  })
}

export function deleteMessage(messageId) {
  return request({
    url: '/message/remove',
    method: 'get',
    params: { 'messageId': messageId }
  })
}

export function replyMessage(data) {
  return request({
    url: '/message/reply',
    method: 'post',
    data
  })
}
